<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no minimal-ui">
    <title>AIBinance|提醒创造价值</title>
    <link rel="stylesheet" href="css/css.css"/>
</head>
<body>
    <div class="main">
        <h1>
            AIBinance | 提醒创造价值
        </h1>
        <p>
            AIBinance主要是为数字货币投资者提供高低提醒、合约提醒、背离提醒、智能选币、牛熊仓位、策略跟单服务。
          <br>
            客服微信：AIBinance
        </p>
        <div class="footer">
            <div>
     
               <a href="" id="down" style="    display: block;
    width: 100%;
    height: 46px;
    border: 0;
    font-size: 16px;
    line-height: 46px;
    color: white">点击下载</a>
            </div>
        </div>
    </div>
  	<script src="./jquery-2.1.0.js">
      	
    </script>  
	<script>
      	$(function(){
          	console.log(1);
			var u = navigator.userAgent;
			if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {  
              	console.log(2);
              
              	let d= 'http://47.52.188.179/upload/AIBinance1_0.apk';
              $('#down').attr('href','https://fir.im/gpvw');
			} else if (u.indexOf('iPhone') > -1) {
              console.log(3);
			 $('#down').attr('href','https://fir.im/efwv');
			} else {
				alert("无法判断的系统");
			}
        })      	
      
      	
      
      
      
		let code = GetQueryString('code');
		if(!code) code = '';
		document.getElementById('code').innerText = code;
		console.log(code);
		function GetQueryString(name)
		{
			let reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
			let r = window.location.search.substr(1).match(reg);
			if(r!=null)return  unescape(r[2]); return null;
		}
	</script>
</body>
</html>